﻿using System.ComponentModel.DataAnnotations.Schema;

namespace BlogSystem.Data.Entity;


[Table("sys_remark")]
public class Remark :BaseEntity
{
    /// <summary>
    /// 评论对应帖子的id 
    /// </summary>
    [Column("article_id")]
    public int ArticleId{ get; set; }
    
    /// <summary>
    ///  用户的id  
    /// </summary>
    [Column("user_id")]
    public int UserId{ get; set; }
    
    /// <summary>
    /// 评论/留言的内容
    /// </summary>
    [Column("content")]
    public string Content{ get; set; }
}